﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace ChatServerApplication
{
    public class ClientObject
    {
        String username,
               pw,
               ip;

        public String Pw
        {
            get { return pw; }
            set { pw = value; }
        }

        public String Ip
        {
            get { return ip; }
            set { ip = value; }
        }

        public String Username
        {
            get { return username; }
            set { username = value; }
        }
        Bitmap status;

        public Bitmap Status
        {
            get { return status; }
            set { status = value; }
        }

        public ClientObject(String u, String p, String i)
        {
            this.username = u;
            this.pw = p;
            this.ip = i;
            if (String.IsNullOrEmpty(i))
                this.status = ResourcenDatei.rotesX;
            else
                this.status = ResourcenDatei.GruenerHakenButton;
        }


    }
}
